package megalopolis.net.responses;

import java.util.Set;

import megalopolis.model.GameObject;
import megalopolis.model.Man;
import megalopolis.net.Response;

/**
 * User: Kirill
 * Date: 21.02.2008
 */
public class MapUpdatedResponse extends Response {

	private Man playerMan;

    private Set<GameObject> gameObjects;

	public MapUpdatedResponse(Man playerMan, Set<GameObject> gameObjects) {
		this.playerMan = playerMan;
		this.gameObjects = gameObjects;
    }

	public Man getPlayerMan() {
		return playerMan;
	}

    public Set<GameObject> getGameObjects() {
        return gameObjects;
    }
}
